<?php
class MODELAction extends Action {
	public function index() {
		/* Create the ORM object */
		$model = new MODEL();
		/* Include header */
		$this->helper->tpl('header.php', get_class());
		/* Build the side bar */
		$this->helper->tpl('list.php', $model->fetch('SHOW TABLES'));
		/* Inject data into the template */
		$this->helper->tpl('index.php', $model);
		/* the footer */
		$this->helper->tpl('footer.php');
	}
}
?>
